PATHMac OS 8 and 9 Developer Documentation > Interapplication Communication > AppleScript for Scripters >

AppleScript Language Guide

   

Constants

A constant is a reserved word with a predefined value. AppleScript provides constants to help your scripts perform a variety of tasks, such as retrieving properties, performing comparisons, and performing arithmetic operations. Constants are defined in several ways, including as part of the AppleScript language (the Boolean constants true and false ), as global properties of AppleScript ( tab , space , pi , return ), and as individual value classes with predefined values ( Monday through Sunday and January through December ).

Knowing how constants are defined is less important, however, than knowing which constants are available and how to use them. The following sections list constants you use for specific tasks, show how to use the constants in a script, and provide links to related information:


© 1999 Apple Computer, Inc. – (Last Updated 21 May 99)